﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZoneLineNew.Models {

    [Table(Name = "v_checkstationworkinfo")]
    public class WorkSituationModel {
        //AbsScanCode Code Station	WorkSituation	WorkTime	WorkResult IsReworkedTableName
        public string AbsScanCode { get; set; }
        public string Code { get; set; }
        public string Station { get; set; }
        public string WorkSituation { get; set; }
        public DateTime WorkTime { get; set; }
        public string WorkResult { get; set; }
        public bool IsReworked { get; set; }
        public string TableName { get; set; }

        public string IsReworkedLabel => IsReworked ? "是" : "否";
    }

}
